package com.dao.impl;
import com.dao.UserDao;
import org.springframework.stereotype.Component;

@Component("userDao")
public class UserDaoImpl implements UserDao{
    @Override
    public boolean login(String name, String password){
        return name.equals("张三") && password.equals("123");
    }
}